#ifndef PARTICLE_TREE_ITEM_H
#define PARTICLE_TREE_ITEM_H

#include "src/particle.h"
#include "treeItem.h"

class ParticleTreeItem : public TreeItem {
    public:
        ParticleTreeItem(QTreeWidgetItem * = 0, Particle * = 0);
        ~ParticleTreeItem();

        unsigned int getType(){return PARTICLE;};

        Particle *getParticle(){return particle;};

        void select(bool _b){particle->select(_b);};

    private:
        Particle *particle;
};

#endif


